package com.freight.user.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;


/**
 * @author guoys
 * @create 2021/6/3
 */
@Data
public class VehicleDetailInfoVo extends UserVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "GPS设备号")
    private String gpsEquipment;

    @ApiModelProperty(value = "所有人名称")
    private String vehicleOwner;

    @ApiModelProperty(value = "车牌号码")
    private String vehicleNum;

    @ApiModelProperty(value = "油类型")
    private String oilType;

    @ApiModelProperty(value = "联系人姓名")
    private String name;

    @ApiModelProperty(value = "颜色类型")
    private String colorType;

    @ApiModelProperty(value = "行驶证发证机关")
    private String issuingAuthority;

    @ApiModelProperty(value = "车辆识别代号")
    private String vin;

    @ApiModelProperty(value = "外廓尺寸")
    private String overallDimension;

    @ApiModelProperty(value = "核定载质量")
    private String approvedLoad;

    @ApiModelProperty(value = "车型")
    private String vehicleType;

    @ApiModelProperty(value = "车长")
    private String vehicleLength;

    @ApiModelProperty(value = "管理人Id")
    private Long manageUserId;


    @ApiModelProperty(value = "id")
    private Long id;



    @ApiModelProperty(value = "司机姓名")
    private String driverName;

    @ApiModelProperty(value = "司机手机")
    private String driverPhone;

    @ApiModelProperty(value = "运营许可证号")
    private String workFileNo;

    @ApiModelProperty(value = "认证状态")
    private Integer registStatus;



    @ApiModelProperty(value = "挂车车牌号码")
    private String trailerNum;

    @ApiModelProperty(value = "描述信息")
    private String describeInfo;

    @ApiModelProperty(value = "所属关系")
    private String relationType;

    @ApiModelProperty(value = "车辆类型（对照代码集）")
    private String vehicleCodeType;

    @ApiModelProperty(value = "运营状态 1.正常 2.异常 3.")
    private Integer operationalStatus;

    @ApiModelProperty(value = "证件状态 （1.正常 2.异常 ：根据2个证件到期日判断，只有要有一个快到期了（1个月），则变2  3.未知）")
    private Integer documentStatus;

    @ApiModelProperty(value = "运输证有效期")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String validityPeriodDate;

    @ApiModelProperty(value = "行驶证有效期")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String inspectionRecord;

    @ApiModelProperty(value = "道路经营许可证有效期")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String roadPermitNoDate;

    @ApiModelProperty(value = "道路经验许可证号")
    private String roadPermitNo;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String createTime;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String updateTime;

}
